echo off
echo ---------------------
echo Generando Flex
echo ---------------------

set PATH=C:\Program Files (x86)\Java\jdk1.7.0_21\bin;.
set CLASSPATH=C:\Users\Reiser\Desktop\PracticaPDL\PracticaPDL\JFlex.jar;.
java JFlex.Main PracticaPDL.flex
echo Flex creado
echo *********************
pause

set CLASSPATH=C:\Users\Reiser\Desktop\PracticaPDL\PracticaPDL\JCup.jar;.
echo ---------------------
echo Generando Cup
echo ---------------------
java java_cup.Main < PracticaPDL.cup
echo Cup creado
echo *********************
pause